<template>
  <div>
    <dk-form ref="editForm" :form-data="formData" @submit="onSubmit" />
  </div>
</template>

<script>
import { getPlaid } from '@/utils/auth'
import { getWechatEditForm } from '@/api/platform/wechat'

export default {
  name: 'WechatSystem',
  data() {
    return {
      formData: null,
      plaid: 0
    }
  },
  mounted() {
    this.plaid = getPlaid()
    this.getWechatEditForm()
  },
  methods: {
    onSubmit(data, res) {},
    getWechatEditForm() {
      getWechatEditForm(this.plaid).then((res) => {
        this.formData = res.data
      })
    }
  }
}
</script>
<style scoped lang="scss">
.search_user {
  background: #f5f7fa;
  padding: 10px;
}
</style>
